[slug].js 71 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640
  1. (() => {
  2. var exports = {};
  3. exports.id = 44279;
  4. exports.ids = [44279,64820];
  5. exports.modules = {
  6. /***/ 51809:
  7. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  8. "use strict";
  9. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  10. __webpack_require__.r(__webpack_exports__);
  11. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  12. /* harmony export */ "default": () => (/* binding */ pageWrapperTemplate),
  13. /* harmony export */ "getServerSideProps": () => (/* binding */ getServerSideProps),
  14. /* harmony export */ "getStaticPaths": () => (/* binding */ getStaticPaths),
  15. /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
  16. /* harmony export */ });
  17. /* harmony import */ var _sentry_server_config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96270);
  18. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58097);
  19. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__);
  20. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20997);
  21. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
  22. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71853);
  23. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_3__);
  24. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(60866);
  25. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4__);
  26. /* harmony import */ var _courses_module_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(97523);
  27. /* harmony import */ var _courses_module_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_courses_module_scss__WEBPACK_IMPORTED_MODULE_15__);
  28. /* harmony import */ var _components_Course_CourseDetails__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84346);
  29. /* harmony import */ var _components_DataFetcher__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12951);
  30. /* harmony import */ var _components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(25869);
  31. /* harmony import */ var _components_PageContainer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(9234);
  32. /* harmony import */ var _dls_Spinner_Spinner__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(7190);
  33. /* harmony import */ var _pages_index_module_scss__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23848);
  34. /* harmony import */ var _pages_index_module_scss__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_pages_index_module_scss__WEBPACK_IMPORTED_MODULE_14__);
  35. /* harmony import */ var _utils_auth_api__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(37883);
  36. /* harmony import */ var _utils_auth_apiPaths__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(13830);
  37. /* harmony import */ var _utils_locale__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(24709);
  38. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(57933);
  39. /* harmony import */ var _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(45137);
  40. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_Course_CourseDetails__WEBPACK_IMPORTED_MODULE_5__, _components_DataFetcher__WEBPACK_IMPORTED_MODULE_6__, _utils_navigation__WEBPACK_IMPORTED_MODULE_13__]);
  41. ([_components_Course_CourseDetails__WEBPACK_IMPORTED_MODULE_5__, _components_DataFetcher__WEBPACK_IMPORTED_MODULE_6__, _utils_navigation__WEBPACK_IMPORTED_MODULE_13__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  42. const Loading = ()=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div", {
  43. className: (_pages_index_module_scss__WEBPACK_IMPORTED_MODULE_14___default().loadingContainer),
  44. children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_dls_Spinner_Spinner__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {})
  45. });
  46. const LearningPlanPage = ({ course })=>{
  47. const { lang , t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4___default()("learn");
  48. const router = (0,next_router__WEBPACK_IMPORTED_MODULE_3__.useRouter)();
  49. const { slug } = router.query;
  50. const url = (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_13__/* .getCourseNavigationUrl */ .ES)(course.slug);
  51. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
  52. children: [
  53. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
  54. title: course.title,
  55. canonical: (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_13__/* .getCanonicalUrl */ .Z2)(lang, url),
  56. description: course?.metaDescription || t("learning-plan-meta-desc"),
  57. languageAlternates: (0,_utils_locale__WEBPACK_IMPORTED_MODULE_12__/* .getLanguageAlternates */ .qc)(url)
  58. }),
  59. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div", {
  60. className: (_pages_index_module_scss__WEBPACK_IMPORTED_MODULE_14___default().pageContainer),
  61. children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)("div", {
  62. className: (_courses_module_scss__WEBPACK_IMPORTED_MODULE_15___default().container),
  63. children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_PageContainer__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
  64. children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_DataFetcher__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
  65. loading: Loading,
  66. queryKey: (0,_utils_auth_apiPaths__WEBPACK_IMPORTED_MODULE_11__/* .makeGetCourseUrl */ .vp)(slug),
  67. fetcher: _utils_auth_api__WEBPACK_IMPORTED_MODULE_10__/* .privateFetcher */ .UK,
  68. render: (courseDetailsResponse)=>/*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
  69. children: /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_Course_CourseDetails__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
  70. course: courseDetailsResponse
  71. })
  72. })
  73. })
  74. })
  75. })
  76. })
  77. ]
  78. });
  79. };
  80. const getStaticPaths = async ()=>({
  81. paths: [],
  82. fallback: "blocking"
  83. });
  84. const getStaticProps$1 = async ({ params })=>{
  85. try {
  86. const course = await (0,_utils_auth_api__WEBPACK_IMPORTED_MODULE_10__/* .getCourse */ .XR)(params.slug);
  87. return {
  88. props: {
  89. course
  90. },
  91. revalidate: _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_16__/* .ONE_WEEK_REVALIDATION_PERIOD_SECONDS */ .Dp
  92. };
  93. } catch (error) {
  94. return {
  95. props: {
  96. hasError: true
  97. },
  98. revalidate: _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_16__/* .REVALIDATION_PERIOD_ON_ERROR_SECONDS */ .eW
  99. };
  100. }
  101. };
  102. var serverComponentModule = /*#__PURE__*/Object.freeze({
  103. __proto__: null,
  104. getStaticPaths: getStaticPaths,
  105. getStaticProps: getStaticProps$1,
  106. 'default': LearningPlanPage
  107. });
  108. /*
  109. * This file is a template for the code which will be substituted when our webpack loader handles non-API files in the
  110. * `pages/` directory.
  111. *
  112. * We use `__SENTRY_WRAPPING_TARGET_FILE__.cjs` as a placeholder for the path to the file being wrapped. Because it's not a real package,
  113. * this causes both TS and ESLint to complain, hence the pragma comments below.
  114. */
  115. const userPageModule = serverComponentModule ;
  116. const pageComponent = userPageModule ? userPageModule.default : undefined;
  117. const origGetInitialProps = pageComponent ? pageComponent.getInitialProps : undefined;
  118. const origGetStaticProps = userPageModule ? userPageModule.getStaticProps : undefined;
  119. const origGetServerSideProps = userPageModule ? userPageModule.getServerSideProps : undefined;
  120. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  121. const getInitialPropsWrappers = {
  122. '/_app': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapAppGetInitialPropsWithSentry,
  123. '/_document': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapDocumentGetInitialPropsWithSentry,
  124. '/_error': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapErrorGetInitialPropsWithSentry,
  125. };
  126. const getInitialPropsWrapper = getInitialPropsWrappers['/learning-plans/[slug]'] || _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetInitialPropsWithSentry;
  127. if (pageComponent && typeof origGetInitialProps === 'function') {
  128. pageComponent.getInitialProps = getInitialPropsWrapper(origGetInitialProps) ;
  129. }
  130. const getStaticProps =
  131. typeof origGetStaticProps === 'function'
  132. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetStaticPropsWithSentry(origGetStaticProps, '/learning-plans/[slug]')
  133. : undefined;
  134. const getServerSideProps =
  135. typeof origGetServerSideProps === 'function'
  136. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetServerSidePropsWithSentry(origGetServerSideProps, '/learning-plans/[slug]')
  137. : undefined;
  138. const pageWrapperTemplate = pageComponent ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapPageComponentWithSentry(pageComponent ) : pageComponent;
  139. __webpack_async_result__();
  140. } catch(e) { __webpack_async_result__(e); } });
  141. /***/ }),
  142. /***/ 38264:
  143. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  144. "use strict";
  145. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  146. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  147. /* harmony export */ });
  148. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16689);
  149. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  150. var _path;
  151. function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
  152. var SvgCollection = function SvgCollection(props) {
  153. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
  154. width: 24,
  155. height: 24,
  156. viewBox: "0 0 24 24",
  157. fill: "none",
  158. xmlns: "http://www.w3.org/2000/svg"
  159. }, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
  160. d: "M20.89 0H3.454C2.581 0 2 .581 2 1.453v20.344c0 .872.581 1.453 1.453 1.453h17.438c.872 0 1.453-.581 1.453-1.453V1.453C22.344.581 21.762 0 20.89 0ZM6.36 18.89c-.873 0-1.454-.58-1.454-1.453 0-.871.582-1.453 1.453-1.453.872 0 1.454.582 1.454 1.454 0 .871-.582 1.453-1.454 1.453Zm0-5.812c-.873 0-1.454-.581-1.454-1.453 0-.872.582-1.453 1.453-1.453.872 0 1.454.581 1.454 1.453 0 .872-.582 1.453-1.454 1.453Zm0-5.812c-.873 0-1.454-.582-1.454-1.454 0-.871.582-1.453 1.453-1.453.872 0 1.454.582 1.454 1.454 0 .871-.582 1.453-1.454 1.453Zm13.078 2.906h-8.72v-4.36h8.72v4.36Z",
  161. fill: "currentColor"
  162. })));
  163. };
  164. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgCollection);
  165. /***/ }),
  166. /***/ 38520:
  167. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  168. "use strict";
  169. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  170. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  171. /* harmony export */ });
  172. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16689);
  173. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
  174. var _g, _defs;
  175. function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
  176. var SvgDevelopers = function SvgDevelopers(props) {
  177. return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
  178. width: 24,
  179. height: 24,
  180. viewBox: "0 0 24 24",
  181. fill: "none",
  182. xmlns: "http://www.w3.org/2000/svg"
  183. }, props), _g || (_g = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("g", {
  184. clipPath: "url(#a)",
  185. fill: "currentColor"
  186. }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
  187. d: "M4.844 1H.969A.97.97 0 0 0 0 1.969v19.375a.97.97 0 0 0 .969.968h3.875V1ZM6.781 1v21.313h15.5a.97.97 0 0 0 .969-.97V1.97A.97.97 0 0 0 22.281 1h-15.5Zm3.875 3.875h2.906v1.938h-2.906V4.875Zm2.906 13.563h-2.906V16.5h2.906v1.938Zm2.907-3.875h-3.875v-1.938h3.875v1.938Zm2.906-3.876h-5.813V8.75h5.813v1.938Z"
  188. }))), _defs || (_defs = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("clipPath", {
  189. id: "a"
  190. }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
  191. fill: "currentColor",
  192. d: "M0 0h23.25v23.25H0z"
  193. })))));
  194. };
  195. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SvgDevelopers);
  196. /***/ }),
  197. /***/ 52893:
  198. /***/ ((module) => {
  199. // Exports
  200. module.exports = {
  201. "backText": "CourseDetails_backText__8Hu7e",
  202. "headerContainer": "CourseDetails_headerContainer__0KFWS",
  203. "title": "CourseDetails_title__WmnyB",
  204. "author": "CourseDetails_author__C0c06",
  205. "imgContainer": "CourseDetails_imgContainer__iJ_rf",
  206. "startLearningButton": "CourseDetails_startLearningButton__vdo76"
  207. };
  208. /***/ }),
  209. /***/ 19914:
  210. /***/ ((module) => {
  211. // Exports
  212. module.exports = {
  213. "completedContainer": "StatusHeader_completedContainer__DjKg6"
  214. };
  215. /***/ }),
  216. /***/ 261:
  217. /***/ ((module) => {
  218. // Exports
  219. module.exports = {
  220. "container": "TabSwitcherItem_container__l0AFM",
  221. "value": "TabSwitcherItem_value__9Zast"
  222. };
  223. /***/ }),
  224. /***/ 45699:
  225. /***/ ((module) => {
  226. // Exports
  227. module.exports = {
  228. "author": "AuthorDetail_author__QNqjO"
  229. };
  230. /***/ }),
  231. /***/ 2338:
  232. /***/ ((module) => {
  233. // Exports
  234. module.exports = {
  235. "title": "DetailSection_title__4mbZq",
  236. "container": "DetailSection_container__CnjV5"
  237. };
  238. /***/ }),
  239. /***/ 63955:
  240. /***/ ((module) => {
  241. // Exports
  242. module.exports = {
  243. "syllabusContainer": "Syllabus_syllabusContainer__3hJSK",
  244. "container": "Syllabus_container__vPuDB",
  245. "day": "Syllabus_day__jG8s6"
  246. };
  247. /***/ }),
  248. /***/ 47989:
  249. /***/ ((module) => {
  250. // Exports
  251. module.exports = {
  252. "container": "Pill_container__FoIEg",
  253. "small": "Pill_small__zCILo"
  254. };
  255. /***/ }),
  256. /***/ 24001:
  257. /***/ ((module) => {
  258. // Exports
  259. module.exports = {
  260. "container": "Switch_container__sYEUd",
  261. "xSmallContainer": "Switch_xSmallContainer__CtQzD",
  262. "item": "Switch_item__ePHkS",
  263. "separatorLine": "Switch_separatorLine__Jj73_",
  264. "separatorLineVisible": "Switch_separatorLineVisible__RnZCc",
  265. "selectedItemBackgroundContainer": "Switch_selectedItemBackgroundContainer__7F_kF",
  266. "selectedItemBackground": "Switch_selectedItemBackground__VMOBG",
  267. "itemNormal": "Switch_itemNormal__pDPXy",
  268. "itemLarge": "Switch_itemLarge__SCzg2",
  269. "itemSmall": "Switch_itemSmall__gKpF9",
  270. "itemXSmall": "Switch_itemXSmall__GcCpL"
  271. };
  272. /***/ }),
  273. /***/ 97523:
  274. /***/ ((module) => {
  275. // Exports
  276. module.exports = {
  277. "container": "courses_container__h1_I3"
  278. };
  279. /***/ }),
  280. /***/ 41614:
  281. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  282. "use strict";
  283. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  284. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  285. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  286. /* harmony export */ });
  287. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  288. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  289. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  290. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  291. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71853);
  292. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_2__);
  293. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60866);
  294. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__);
  295. /* harmony import */ var _dls_Button_Button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(50497);
  296. /* harmony import */ var _utils_eventLogger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(55943);
  297. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(57933);
  298. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_dls_Button_Button__WEBPACK_IMPORTED_MODULE_4__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_5__, _utils_navigation__WEBPACK_IMPORTED_MODULE_6__]);
  299. ([_dls_Button_Button__WEBPACK_IMPORTED_MODULE_4__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_5__, _utils_navigation__WEBPACK_IMPORTED_MODULE_6__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  300. const StartOrContinueLearning = ({ course , isHeaderButton =true })=>{
  301. const { t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default()("learn");
  302. const { lessons , continueFromLesson , id , slug } = course;
  303. /**
  304. * there is a corner case when the user enrolls,
  305. * goes back to main page then clicks start learning again,
  306. * continueFromLesson is undefined since it has been cached from
  307. * before the user enrolled.
  308. */ const redirectToLessonSlug = continueFromLesson || lessons?.[0]?.slug;
  309. const router = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
  310. const userCompletedAnyLesson = lessons.some((lesson)=>lesson.isCompleted === true);
  311. const onContinueLearningClicked = ()=>{
  312. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_5__/* .logButtonClick */ .MY)("continue_learning", {
  313. courseId: id,
  314. isHeaderButton
  315. });
  316. router.push((0,_utils_navigation__WEBPACK_IMPORTED_MODULE_6__/* .getLessonNavigationUrl */ .dC)(slug, redirectToLessonSlug));
  317. };
  318. const onStartLearningClicked = ()=>{
  319. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_5__/* .logButtonClick */ .MY)("start_learning", {
  320. courseId: id,
  321. isHeaderButton
  322. });
  323. router.push((0,_utils_navigation__WEBPACK_IMPORTED_MODULE_6__/* .getLessonNavigationUrl */ .dC)(slug, redirectToLessonSlug));
  324. };
  325. if (userCompletedAnyLesson) {
  326. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Button_Button__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, {
  327. onClick: onContinueLearningClicked,
  328. children: t("continue-learning")
  329. });
  330. }
  331. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Button_Button__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .ZP, {
  332. onClick: onStartLearningClicked,
  333. children: t("start-learning")
  334. });
  335. };
  336. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StartOrContinueLearning);
  337. __webpack_async_result__();
  338. } catch(e) { __webpack_async_result__(e); } });
  339. /***/ }),
  340. /***/ 61284:
  341. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  342. "use strict";
  343. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  344. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  345. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  346. /* harmony export */ });
  347. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  348. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  349. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  350. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  351. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71853);
  352. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_2__);
  353. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60866);
  354. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__);
  355. /* harmony import */ var _StatusHeader_module_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(19914);
  356. /* harmony import */ var _StatusHeader_module_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_StatusHeader_module_scss__WEBPACK_IMPORTED_MODULE_15__);
  357. /* harmony import */ var _components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41614);
  358. /* harmony import */ var _components_Course_CourseFeedback__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18370);
  359. /* harmony import */ var _dls_Button_Button__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50497);
  360. /* harmony import */ var _dls_Pill__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(78945);
  361. /* harmony import */ var _dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(79717);
  362. /* harmony import */ var _hooks_useMutateWithoutRevalidation__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(61368);
  363. /* harmony import */ var _utils_auth_api__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(37883);
  364. /* harmony import */ var _utils_auth_apiPaths__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(13830);
  365. /* harmony import */ var _utils_auth_login__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(22197);
  366. /* harmony import */ var _utils_eventLogger__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(55943);
  367. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(57933);
  368. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__, _components_Course_CourseFeedback__WEBPACK_IMPORTED_MODULE_5__, _dls_Button_Button__WEBPACK_IMPORTED_MODULE_6__, _dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__, _hooks_useMutateWithoutRevalidation__WEBPACK_IMPORTED_MODULE_9__, _utils_auth_login__WEBPACK_IMPORTED_MODULE_12__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_13__, _utils_navigation__WEBPACK_IMPORTED_MODULE_14__]);
  369. ([_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__, _components_Course_CourseFeedback__WEBPACK_IMPORTED_MODULE_5__, _dls_Button_Button__WEBPACK_IMPORTED_MODULE_6__, _dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__, _hooks_useMutateWithoutRevalidation__WEBPACK_IMPORTED_MODULE_9__, _utils_auth_login__WEBPACK_IMPORTED_MODULE_12__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_13__, _utils_navigation__WEBPACK_IMPORTED_MODULE_14__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  370. /* eslint-disable react-func/max-lines-per-function */
  371. const StatusHeader = ({ course , isCTA =false })=>{
  372. const { title , id , isUserEnrolled , slug , isCompleted , lessons } = course;
  373. const { 0: isLoading , 1: setIsLoading } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
  374. const toast = (0,_dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__/* .useToast */ .pm)();
  375. const router = (0,next_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();
  376. const { t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default()("learn");
  377. const mutate = (0,_hooks_useMutateWithoutRevalidation__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z)();
  378. const onEnrollClicked = ()=>{
  379. if ((0,_utils_auth_login__WEBPACK_IMPORTED_MODULE_12__/* .isLoggedIn */ .jl)()) {
  380. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_13__/* .logButtonClick */ .MY)("user_enroll_course", {
  381. courseId: id,
  382. isCTA
  383. });
  384. setIsLoading(true);
  385. (0,_utils_auth_api__WEBPACK_IMPORTED_MODULE_10__/* .enrollUser */ .xh)(course.id).then(()=>{
  386. toast(t("enroll-success", {
  387. title
  388. }), {
  389. status: _dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__/* .ToastStatus.Success */ .YZ.Success
  390. });
  391. mutate((0,_utils_auth_apiPaths__WEBPACK_IMPORTED_MODULE_11__/* .makeGetCourseUrl */ .vp)(slug), (currentCourse)=>{
  392. return {
  393. ...currentCourse,
  394. isUserEnrolled: true
  395. };
  396. });
  397. // if the course has lessons, redirect to the first lesson
  398. if (lessons?.length > 0) {
  399. router.replace((0,_utils_navigation__WEBPACK_IMPORTED_MODULE_14__/* .getLessonNavigationUrl */ .dC)(slug, lessons[0].slug));
  400. }
  401. }).catch(()=>{
  402. toast(t("common:error.general"), {
  403. status: _dls_Toast_Toast__WEBPACK_IMPORTED_MODULE_8__/* .ToastStatus.Error */ .YZ.Error
  404. });
  405. }).finally(()=>{
  406. setIsLoading(false);
  407. });
  408. } else {
  409. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_13__/* .logButtonClick */ .MY)("guest_enroll_course", {
  410. courseId: id,
  411. isCTA
  412. });
  413. router.replace((0,_utils_navigation__WEBPACK_IMPORTED_MODULE_14__/* .getLoginNavigationUrl */ .gk)((0,_utils_navigation__WEBPACK_IMPORTED_MODULE_14__/* .getCourseNavigationUrl */ .ES)(slug)));
  414. }
  415. };
  416. if (isCTA) {
  417. if (isUserEnrolled === true) {
  418. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {});
  419. }
  420. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Button_Button__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, {
  421. isDisabled: isLoading,
  422. isLoading: isLoading,
  423. onClick: onEnrollClicked,
  424. children: t("enroll")
  425. });
  426. }
  427. if (isCompleted) {
  428. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  429. className: (_StatusHeader_module_scss__WEBPACK_IMPORTED_MODULE_15___default().completedContainer),
  430. children: [
  431. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Pill__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
  432. children: t("completed")
  433. }),
  434. course?.userHasFeedback === false && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseFeedback__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
  435. course: course,
  436. source: _components_Course_CourseFeedback__WEBPACK_IMPORTED_MODULE_5__/* .FeedbackSource.CoursePage */ .E.CoursePage
  437. })
  438. ]
  439. });
  440. }
  441. if (isUserEnrolled === true) {
  442. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
  443. course: course
  444. });
  445. }
  446. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Button_Button__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .ZP, {
  447. isDisabled: isLoading,
  448. isLoading: isLoading,
  449. onClick: onEnrollClicked,
  450. children: t("enroll")
  451. });
  452. };
  453. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StatusHeader);
  454. __webpack_async_result__();
  455. } catch(e) { __webpack_async_result__(e); } });
  456. /***/ }),
  457. /***/ 49402:
  458. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  459. "use strict";
  460. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  461. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  462. /* harmony export */ });
  463. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  464. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  465. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  466. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  467. /* harmony import */ var _TabSwitcherItem_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(261);
  468. /* harmony import */ var _TabSwitcherItem_module_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_TabSwitcherItem_module_scss__WEBPACK_IMPORTED_MODULE_2__);
  469. const TabSwitcherItem = ({ icon , value })=>{
  470. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  471. className: (_TabSwitcherItem_module_scss__WEBPACK_IMPORTED_MODULE_2___default().container),
  472. children: [
  473. icon,
  474. " ",
  475. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
  476. className: (_TabSwitcherItem_module_scss__WEBPACK_IMPORTED_MODULE_2___default().value),
  477. children: value
  478. })
  479. ]
  480. });
  481. };
  482. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TabSwitcherItem);
  483. /***/ }),
  484. /***/ 81454:
  485. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  486. "use strict";
  487. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  488. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  489. /* harmony export */ });
  490. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  491. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  492. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  493. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  494. /* harmony import */ var _AuthorDetail_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45699);
  495. /* harmony import */ var _AuthorDetail_module_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_AuthorDetail_module_scss__WEBPACK_IMPORTED_MODULE_2__);
  496. const AuthorDetail = ({ author })=>{
  497. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
  498. children: [
  499. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
  500. className: (_AuthorDetail_module_scss__WEBPACK_IMPORTED_MODULE_2___default().author),
  501. children: author.name
  502. }),
  503. " ",
  504. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
  505. children: author.biography
  506. })
  507. ]
  508. });
  509. };
  510. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (AuthorDetail);
  511. /***/ }),
  512. /***/ 63580:
  513. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  514. "use strict";
  515. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  516. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  517. /* harmony export */ });
  518. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  519. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  520. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  521. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  522. /* harmony import */ var _DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2338);
  523. /* harmony import */ var _DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2__);
  524. const DetailSection = ({ title , description })=>{
  525. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  526. className: (_DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2___default().container),
  527. children: [
  528. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  529. className: (_DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2___default().title),
  530. children: [
  531. `${title}: `,
  532. " "
  533. ]
  534. }),
  535. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
  536. className: (_DetailSection_module_scss__WEBPACK_IMPORTED_MODULE_2___default().description),
  537. children: description
  538. })
  539. ]
  540. });
  541. };
  542. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DetailSection);
  543. /***/ }),
  544. /***/ 53227:
  545. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  546. "use strict";
  547. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  548. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  549. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  550. /* harmony export */ });
  551. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  552. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  553. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  554. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  555. /* harmony import */ var _milkdown_react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(76915);
  556. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60866);
  557. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__);
  558. /* harmony import */ var _DetailSection__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63580);
  559. /* harmony import */ var _components_MarkdownEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3177);
  560. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_milkdown_react__WEBPACK_IMPORTED_MODULE_2__, _components_MarkdownEditor__WEBPACK_IMPORTED_MODULE_5__]);
  561. ([_milkdown_react__WEBPACK_IMPORTED_MODULE_2__, _components_MarkdownEditor__WEBPACK_IMPORTED_MODULE_5__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  562. /* eslint-disable unicorn/no-array-reduce */
  563. const MainDetails = ({ course })=>{
  564. const { t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default()("learn");
  565. const { description , dailyMinutes , lessons =[] } = course;
  566. // const tagsString = tags?.reduce((acc, currentValue) => {
  567. // if (!acc) return currentValue;
  568. // return `${acc}, ${currentValue}`;
  569. // }, '');
  570. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
  571. children: [
  572. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_DetailSection__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
  573. title: t("learn-duration"),
  574. description: t("duration-daily", {
  575. dailyMins: dailyMinutes,
  576. days: lessons.length
  577. })
  578. }),
  579. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_milkdown_react__WEBPACK_IMPORTED_MODULE_2__.MilkdownProvider, {
  580. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_DetailSection__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
  581. title: t("description"),
  582. description: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_MarkdownEditor__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
  583. isEditable: false,
  584. defaultValue: description
  585. })
  586. })
  587. })
  588. ]
  589. });
  590. };
  591. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (MainDetails);
  592. __webpack_async_result__();
  593. } catch(e) { __webpack_async_result__(e); } });
  594. /***/ }),
  595. /***/ 65856:
  596. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  597. "use strict";
  598. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  599. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  600. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  601. /* harmony export */ });
  602. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  603. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  604. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  605. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  606. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(60866);
  607. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_2__);
  608. /* harmony import */ var _Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(63955);
  609. /* harmony import */ var _Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9__);
  610. /* harmony import */ var _components_Course_CompletedTick__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(86120);
  611. /* harmony import */ var _dls_Link_Link__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(61239);
  612. /* harmony import */ var _utils_auth_login__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(22197);
  613. /* harmony import */ var _utils_eventLogger__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(55943);
  614. /* harmony import */ var _utils_locale__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24709);
  615. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(57933);
  616. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_utils_auth_login__WEBPACK_IMPORTED_MODULE_5__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_6__, _utils_navigation__WEBPACK_IMPORTED_MODULE_8__]);
  617. ([_utils_auth_login__WEBPACK_IMPORTED_MODULE_5__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_6__, _utils_navigation__WEBPACK_IMPORTED_MODULE_8__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  618. /* eslint-disable react/no-array-index-key */
  619. const Syllabus = ({ course })=>{
  620. const { lessons =[] , slug: courseSlug } = course;
  621. const { t , lang } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_2___default()("learn");
  622. const isUserLoggedIn = (0,_utils_auth_login__WEBPACK_IMPORTED_MODULE_5__/* .isLoggedIn */ .jl)();
  623. const onDayClick = (dayNumber, lessonId)=>{
  624. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_6__/* .logButtonClick */ .MY)(isUserLoggedIn ? "course_syllabus_day" : "guest_course_syllabus_day", {
  625. courseId: course.id,
  626. dayNumber,
  627. lessonId
  628. });
  629. };
  630. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  631. className: (_Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9___default().syllabusContainer),
  632. children: lessons.map((lesson, index)=>{
  633. const dayNumber = index + 1;
  634. const { title , isCompleted , id , slug } = lesson;
  635. const url = (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_8__/* .getLessonNavigationUrl */ .dC)(courseSlug, slug);
  636. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("p", {
  637. className: (_Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9___default().container),
  638. children: [
  639. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("span", {
  640. className: (_Syllabus_module_scss__WEBPACK_IMPORTED_MODULE_9___default().day),
  641. children: `${t("day")} ${(0,_utils_locale__WEBPACK_IMPORTED_MODULE_7__/* .toLocalizedNumber */ .rQ)(dayNumber, lang)}`
  642. }),
  643. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("span", {
  644. children: [
  645. `: `,
  646. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Link_Link__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
  647. onClick: ()=>onDayClick(dayNumber, id),
  648. href: isUserLoggedIn ? url : (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_8__/* .getLoginNavigationUrl */ .gk)(url),
  649. variant: _dls_Link_Link__WEBPACK_IMPORTED_MODULE_4__/* .LinkVariant.Highlight */ .r.Highlight,
  650. children: title
  651. }),
  652. isCompleted ? /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CompletedTick__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z, {}) : ""
  653. ]
  654. })
  655. ]
  656. }, index);
  657. })
  658. });
  659. };
  660. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Syllabus);
  661. __webpack_async_result__();
  662. } catch(e) { __webpack_async_result__(e); } });
  663. /***/ }),
  664. /***/ 84346:
  665. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  666. "use strict";
  667. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  668. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  669. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  670. /* harmony export */ });
  671. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  672. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  673. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  674. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  675. /* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7477);
  676. /* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(next_image__WEBPACK_IMPORTED_MODULE_2__);
  677. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(60866);
  678. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3__);
  679. /* harmony import */ var _CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(52893);
  680. /* harmony import */ var _CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19__);
  681. /* harmony import */ var _components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(41614);
  682. /* harmony import */ var _components_Course_ContentContainer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(79215);
  683. /* harmony import */ var _components_Course_CourseDetails_StatusHeader__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(61284);
  684. /* harmony import */ var _components_Course_CourseDetails_Tabs_MainDetails__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(53227);
  685. /* harmony import */ var _components_Course_CourseDetails_Tabs_MainDetails_DetailSection__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(63580);
  686. /* harmony import */ var _components_Course_CourseDetails_Tabs_MainDetails_DetailSection_AuthorDetail__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(81454);
  687. /* harmony import */ var _components_Course_CourseDetails_Tabs_Syllabus__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(65856);
  688. /* harmony import */ var _components_Course_CourseDetails_TabSwitcherItem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(49402);
  689. /* harmony import */ var _dls_Button_Button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(50497);
  690. /* harmony import */ var _dls_Switch_Switch__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(66025);
  691. /* harmony import */ var _icons_collection_svg__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(38264);
  692. /* harmony import */ var _icons_developers_svg__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(38520);
  693. /* harmony import */ var _icons_west_svg__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(58421);
  694. /* harmony import */ var _utils_eventLogger__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(55943);
  695. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(57933);
  696. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__, _components_Course_CourseDetails_StatusHeader__WEBPACK_IMPORTED_MODULE_6__, _components_Course_CourseDetails_Tabs_MainDetails__WEBPACK_IMPORTED_MODULE_7__, _components_Course_CourseDetails_Tabs_Syllabus__WEBPACK_IMPORTED_MODULE_10__, _dls_Button_Button__WEBPACK_IMPORTED_MODULE_12__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_17__, _utils_navigation__WEBPACK_IMPORTED_MODULE_18__]);
  697. ([_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__, _components_Course_CourseDetails_StatusHeader__WEBPACK_IMPORTED_MODULE_6__, _components_Course_CourseDetails_Tabs_MainDetails__WEBPACK_IMPORTED_MODULE_7__, _components_Course_CourseDetails_Tabs_Syllabus__WEBPACK_IMPORTED_MODULE_10__, _dls_Button_Button__WEBPACK_IMPORTED_MODULE_12__, _utils_eventLogger__WEBPACK_IMPORTED_MODULE_17__, _utils_navigation__WEBPACK_IMPORTED_MODULE_18__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  698. var Tab;
  699. (function(Tab) {
  700. Tab["MAIN"] = "main";
  701. Tab["SYLLABUS"] = "syllabus";
  702. })(Tab || (Tab = {}));
  703. const CourseDetails = ({ course })=>{
  704. const { title , image , id } = course;
  705. const { t } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_3___default()("learn");
  706. const { 0: selectedTab , 1: setSelectedTab } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(Tab.MAIN);
  707. const onTabChange = (value)=>{
  708. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_17__/* .logEvent */ .Kz)("course_details_tab_change", {
  709. courseId: id,
  710. tab: value
  711. });
  712. setSelectedTab(value);
  713. };
  714. const onBackButtonClicked = ()=>{
  715. (0,_utils_eventLogger__WEBPACK_IMPORTED_MODULE_17__/* .logButtonClick */ .MY)("back_to_courses_course_details", {
  716. courseId: id
  717. });
  718. };
  719. const tabs = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>[
  720. {
  721. name: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_TabSwitcherItem__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
  722. icon: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_icons_collection_svg__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z, {}),
  723. value: t("tabs.main")
  724. }),
  725. value: Tab.MAIN
  726. },
  727. {
  728. name: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_TabSwitcherItem__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, {
  729. icon: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_icons_developers_svg__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Z, {}),
  730. value: t("tabs.syllabus")
  731. }),
  732. value: Tab.SYLLABUS
  733. },
  734. ], [
  735. t
  736. ]);
  737. const tabComponents = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(()=>({
  738. [Tab.MAIN]: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_Tabs_MainDetails__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, {
  739. course: course
  740. }),
  741. [Tab.SYLLABUS]: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_Tabs_Syllabus__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
  742. course: course
  743. })
  744. }), [
  745. course
  746. ]);
  747. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_components_Course_ContentContainer__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, {
  748. children: [
  749. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_dls_Button_Button__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .ZP, {
  750. onClick: onBackButtonClicked,
  751. href: (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_18__/* .getCoursesNavigationUrl */ .ty)(),
  752. variant: _dls_Button_Button__WEBPACK_IMPORTED_MODULE_12__/* .ButtonVariant.Ghost */ .Wu.Ghost,
  753. children: [
  754. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_icons_west_svg__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {}),
  755. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
  756. className: (_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default().backText),
  757. children: t("back-to-learning-plans")
  758. })
  759. ]
  760. }),
  761. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  762. className: (_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default().headerContainer),
  763. children: [
  764. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  765. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("p", {
  766. className: (_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default().title),
  767. children: title
  768. })
  769. }),
  770. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_StatusHeader__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
  771. course: course
  772. })
  773. ]
  774. }),
  775. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  776. className: (_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default().imgContainer),
  777. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx((next_image__WEBPACK_IMPORTED_MODULE_2___default()), {
  778. alt: title,
  779. src: image,
  780. layout: "fill"
  781. })
  782. }),
  783. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_dls_Switch_Switch__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
  784. selected: selectedTab,
  785. items: tabs,
  786. onSelect: onTabChange
  787. }),
  788. tabComponents[selectedTab],
  789. selectedTab === Tab.MAIN && /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
  790. children: [
  791. !course.isUserEnrolled && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, {
  792. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_StatusHeader__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, {
  793. course: course,
  794. isCTA: true
  795. })
  796. }),
  797. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_Tabs_MainDetails_DetailSection__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Z, {
  798. title: t("about-author"),
  799. description: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_CourseDetails_Tabs_MainDetails_DetailSection_AuthorDetail__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
  800. author: course.author
  801. })
  802. }),
  803. course.isUserEnrolled && /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  804. className: (_CourseDetails_module_scss__WEBPACK_IMPORTED_MODULE_19___default().startLearningButton),
  805. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_components_Course_Buttons_StartOrContinueLearning__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, {
  806. course: course,
  807. isHeaderButton: false
  808. })
  809. })
  810. ]
  811. })
  812. ]
  813. });
  814. };
  815. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CourseDetails);
  816. __webpack_async_result__();
  817. } catch(e) { __webpack_async_result__(e); } });
  818. /***/ }),
  819. /***/ 78945:
  820. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  821. "use strict";
  822. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  823. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__),
  824. /* harmony export */ "n": () => (/* binding */ PillSize)
  825. /* harmony export */ });
  826. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  827. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  828. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16689);
  829. /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
  830. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(59003);
  831. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__);
  832. /* harmony import */ var _Pill_module_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47989);
  833. /* harmony import */ var _Pill_module_scss__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_Pill_module_scss__WEBPACK_IMPORTED_MODULE_3__);
  834. var PillSize;
  835. (function(PillSize) {
  836. PillSize["SMALL"] = "small";
  837. PillSize["MEDIUM"] = "medium";
  838. })(PillSize || (PillSize = {}));
  839. const Pill = ({ children , size =PillSize.MEDIUM })=>{
  840. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  841. className: classnames__WEBPACK_IMPORTED_MODULE_2___default()((_Pill_module_scss__WEBPACK_IMPORTED_MODULE_3___default().container), {
  842. [(_Pill_module_scss__WEBPACK_IMPORTED_MODULE_3___default().medium)]: size === PillSize.MEDIUM,
  843. [(_Pill_module_scss__WEBPACK_IMPORTED_MODULE_3___default().small)]: size === PillSize.SMALL
  844. }),
  845. children: children
  846. });
  847. };
  848. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Pill);
  849. /***/ }),
  850. /***/ 66025:
  851. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  852. "use strict";
  853. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  854. /* harmony export */ "E": () => (/* binding */ SwitchSize),
  855. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  856. /* harmony export */ });
  857. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20997);
  858. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
  859. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59003);
  860. /* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);
  861. /* harmony import */ var lodash_range__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(64042);
  862. /* harmony import */ var lodash_range__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_2__);
  863. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71853);
  864. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_3__);
  865. /* harmony import */ var _Switch_module_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(24001);
  866. /* harmony import */ var _Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5__);
  867. /* harmony import */ var _utils_locale__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(24709);
  868. var SwitchSize;
  869. (function(SwitchSize) {
  870. SwitchSize["XSmall"] = "xsmall";
  871. SwitchSize["Small"] = "small";
  872. SwitchSize["Normal"] = "normal";
  873. SwitchSize["Large"] = "large";
  874. })(SwitchSize || (SwitchSize = {}));
  875. const Switch = ({ items , onSelect , selected , size =SwitchSize.Normal })=>{
  876. const selectedIndex = items.findIndex((item)=>item.value === selected);
  877. const { locale } = (0,next_router__WEBPACK_IMPORTED_MODULE_3__.useRouter)();
  878. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
  879. className: classnames__WEBPACK_IMPORTED_MODULE_1___default()((_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().container), {
  880. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().xSmallContainer)]: size === SwitchSize.XSmall
  881. }),
  882. children: [
  883. items.map((item)=>/*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("button", {
  884. disabled: item.disabled,
  885. type: "button",
  886. className: classnames__WEBPACK_IMPORTED_MODULE_1___default()((_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().item), selected === item.value && (_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().itemSelected), {
  887. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().itemLarge)]: size === SwitchSize.Large,
  888. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().itemNormal)]: size === SwitchSize.Normal,
  889. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().itemSmall)]: size === SwitchSize.Small,
  890. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().itemXSmall)]: size === SwitchSize.XSmall
  891. }),
  892. onClick: ()=>onSelect(item.value),
  893. children: item.name
  894. }, item.value)),
  895. items.length > 2 && lodash_range__WEBPACK_IMPORTED_MODULE_2___default()(1, items.length).map((i)=>{
  896. return /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  897. className: classnames__WEBPACK_IMPORTED_MODULE_1___default()((_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().separatorLine), {
  898. [(_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().separatorLineVisible)]: selectedIndex !== i && selectedIndex !== i - 1
  899. }),
  900. style: {
  901. width: `${100 / items.length}%`,
  902. transform: `translateX(${100 * i}%)`
  903. }
  904. }, i);
  905. }),
  906. /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  907. className: (_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().selectedItemBackgroundContainer),
  908. style: {
  909. width: `${1 / items.length * 100}%`,
  910. transform: `translateX(${(0,_utils_locale__WEBPACK_IMPORTED_MODULE_4__/* .isRTLLocale */ .iS)(locale) ? "-" : ""}${selectedIndex * 100}%)`
  911. },
  912. children: /*#__PURE__*/ react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
  913. className: (_Switch_module_scss__WEBPACK_IMPORTED_MODULE_5___default().selectedItemBackground)
  914. })
  915. })
  916. ]
  917. });
  918. };
  919. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Switch);
  920. /***/ }),
  921. /***/ 45137:
  922. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  923. "use strict";
  924. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  925. /* harmony export */ "Dp": () => (/* binding */ ONE_WEEK_REVALIDATION_PERIOD_SECONDS),
  926. /* harmony export */ "eW": () => (/* binding */ REVALIDATION_PERIOD_ON_ERROR_SECONDS),
  927. /* harmony export */ "gi": () => (/* binding */ ONE_MONTH_REVALIDATION_PERIOD_SECONDS)
  928. /* harmony export */ });
  929. /* unused harmony export ONE_DAY_REVALIDATION_PERIOD_SECONDS */
  930. const REVALIDATION_PERIOD_ON_ERROR_SECONDS = 604800; // 7 days. TODO: @osama update the naming + value when we revert this back
  931. const ONE_DAY_REVALIDATION_PERIOD_SECONDS = 86400; // 1 day
  932. const ONE_WEEK_REVALIDATION_PERIOD_SECONDS = 604800; // 7 days
  933. const ONE_MONTH_REVALIDATION_PERIOD_SECONDS = 2592000; // 30 days
  934. /***/ }),
  935. /***/ 75184:
  936. /***/ ((module) => {
  937. "use strict";
  938. module.exports = require("@reduxjs/toolkit");
  939. /***/ }),
  940. /***/ 58097:
  941. /***/ ((module) => {
  942. "use strict";
  943. module.exports = require("@sentry/nextjs");
  944. /***/ }),
  945. /***/ 59003:
  946. /***/ ((module) => {
  947. "use strict";
  948. module.exports = require("classnames");
  949. /***/ }),
  950. /***/ 59606:
  951. /***/ ((module) => {
  952. "use strict";
  953. module.exports = require("humps");
  954. /***/ }),
  955. /***/ 59969:
  956. /***/ ((module) => {
  957. "use strict";
  958. module.exports = require("lodash/capitalize");
  959. /***/ }),
  960. /***/ 12372:
  961. /***/ ((module) => {
  962. "use strict";
  963. module.exports = require("lodash/findKey");
  964. /***/ }),
  965. /***/ 98492:
  966. /***/ ((module) => {
  967. "use strict";
  968. module.exports = require("lodash/groupBy");
  969. /***/ }),
  970. /***/ 35526:
  971. /***/ ((module) => {
  972. "use strict";
  973. module.exports = require("lodash/random");
  974. /***/ }),
  975. /***/ 64042:
  976. /***/ ((module) => {
  977. "use strict";
  978. module.exports = require("lodash/range");
  979. /***/ }),
  980. /***/ 16641:
  981. /***/ ((module) => {
  982. "use strict";
  983. module.exports = require("next-seo");
  984. /***/ }),
  985. /***/ 74137:
  986. /***/ ((module) => {
  987. "use strict";
  988. module.exports = require("next-translate/Trans");
  989. /***/ }),
  990. /***/ 60866:
  991. /***/ ((module) => {
  992. "use strict";
  993. module.exports = require("next-translate/useTranslation");
  994. /***/ }),
  995. /***/ 3280:
  996. /***/ ((module) => {
  997. "use strict";
  998. module.exports = require("next/dist/shared/lib/app-router-context.js");
  999. /***/ }),
  1000. /***/ 92796:
  1001. /***/ ((module) => {
  1002. "use strict";
  1003. module.exports = require("next/dist/shared/lib/head-manager-context.js");
  1004. /***/ }),
  1005. /***/ 94957:
  1006. /***/ ((module) => {
  1007. "use strict";
  1008. module.exports = require("next/dist/shared/lib/head.js");
  1009. /***/ }),
  1010. /***/ 3539:
  1011. /***/ ((module) => {
  1012. "use strict";
  1013. module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
  1014. /***/ }),
  1015. /***/ 34014:
  1016. /***/ ((module) => {
  1017. "use strict";
  1018. module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
  1019. /***/ }),
  1020. /***/ 50744:
  1021. /***/ ((module) => {
  1022. "use strict";
  1023. module.exports = require("next/dist/shared/lib/image-config-context.js");
  1024. /***/ }),
  1025. /***/ 35843:
  1026. /***/ ((module) => {
  1027. "use strict";
  1028. module.exports = require("next/dist/shared/lib/image-config.js");
  1029. /***/ }),
  1030. /***/ 78524:
  1031. /***/ ((module) => {
  1032. "use strict";
  1033. module.exports = require("next/dist/shared/lib/is-plain-object.js");
  1034. /***/ }),
  1035. /***/ 78020:
  1036. /***/ ((module) => {
  1037. "use strict";
  1038. module.exports = require("next/dist/shared/lib/mitt.js");
  1039. /***/ }),
  1040. /***/ 64406:
  1041. /***/ ((module) => {
  1042. "use strict";
  1043. module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
  1044. /***/ }),
  1045. /***/ 24964:
  1046. /***/ ((module) => {
  1047. "use strict";
  1048. module.exports = require("next/dist/shared/lib/router-context.js");
  1049. /***/ }),
  1050. /***/ 93431:
  1051. /***/ ((module) => {
  1052. "use strict";
  1053. module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
  1054. /***/ }),
  1055. /***/ 11751:
  1056. /***/ ((module) => {
  1057. "use strict";
  1058. module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
  1059. /***/ }),
  1060. /***/ 46220:
  1061. /***/ ((module) => {
  1062. "use strict";
  1063. module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
  1064. /***/ }),
  1065. /***/ 10299:
  1066. /***/ ((module) => {
  1067. "use strict";
  1068. module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
  1069. /***/ }),
  1070. /***/ 23938:
  1071. /***/ ((module) => {
  1072. "use strict";
  1073. module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
  1074. /***/ }),
  1075. /***/ 29565:
  1076. /***/ ((module) => {
  1077. "use strict";
  1078. module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
  1079. /***/ }),
  1080. /***/ 35789:
  1081. /***/ ((module) => {
  1082. "use strict";
  1083. module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
  1084. /***/ }),
  1085. /***/ 1897:
  1086. /***/ ((module) => {
  1087. "use strict";
  1088. module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
  1089. /***/ }),
  1090. /***/ 1428:
  1091. /***/ ((module) => {
  1092. "use strict";
  1093. module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
  1094. /***/ }),
  1095. /***/ 28854:
  1096. /***/ ((module) => {
  1097. "use strict";
  1098. module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
  1099. /***/ }),
  1100. /***/ 91292:
  1101. /***/ ((module) => {
  1102. "use strict";
  1103. module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
  1104. /***/ }),
  1105. /***/ 34567:
  1106. /***/ ((module) => {
  1107. "use strict";
  1108. module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
  1109. /***/ }),
  1110. /***/ 80979:
  1111. /***/ ((module) => {
  1112. "use strict";
  1113. module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
  1114. /***/ }),
  1115. /***/ 93297:
  1116. /***/ ((module) => {
  1117. "use strict";
  1118. module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
  1119. /***/ }),
  1120. /***/ 36052:
  1121. /***/ ((module) => {
  1122. "use strict";
  1123. module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
  1124. /***/ }),
  1125. /***/ 84226:
  1126. /***/ ((module) => {
  1127. "use strict";
  1128. module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
  1129. /***/ }),
  1130. /***/ 95052:
  1131. /***/ ((module) => {
  1132. "use strict";
  1133. module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
  1134. /***/ }),
  1135. /***/ 59232:
  1136. /***/ ((module) => {
  1137. "use strict";
  1138. module.exports = require("next/dist/shared/lib/utils.js");
  1139. /***/ }),
  1140. /***/ 71853:
  1141. /***/ ((module) => {
  1142. "use strict";
  1143. module.exports = require("next/router");
  1144. /***/ }),
  1145. /***/ 16689:
  1146. /***/ ((module) => {
  1147. "use strict";
  1148. module.exports = require("react");
  1149. /***/ }),
  1150. /***/ 20997:
  1151. /***/ ((module) => {
  1152. "use strict";
  1153. module.exports = require("react/jsx-runtime");
  1154. /***/ }),
  1155. /***/ 52648:
  1156. /***/ ((module) => {
  1157. "use strict";
  1158. module.exports = require("refresh-fetch");
  1159. /***/ }),
  1160. /***/ 57964:
  1161. /***/ ((module) => {
  1162. "use strict";
  1163. module.exports = import("@milkdown/core");;
  1164. /***/ }),
  1165. /***/ 42154:
  1166. /***/ ((module) => {
  1167. "use strict";
  1168. module.exports = import("@milkdown/preset-commonmark");;
  1169. /***/ }),
  1170. /***/ 76915:
  1171. /***/ ((module) => {
  1172. "use strict";
  1173. module.exports = import("@milkdown/react");;
  1174. /***/ }),
  1175. /***/ 64744:
  1176. /***/ ((module) => {
  1177. "use strict";
  1178. module.exports = import("@milkdown/utils");;
  1179. /***/ }),
  1180. /***/ 11601:
  1181. /***/ ((module) => {
  1182. "use strict";
  1183. module.exports = import("@radix-ui/react-checkbox");;
  1184. /***/ }),
  1185. /***/ 77715:
  1186. /***/ ((module) => {
  1187. "use strict";
  1188. module.exports = import("@radix-ui/react-dialog");;
  1189. /***/ }),
  1190. /***/ 4086:
  1191. /***/ ((module) => {
  1192. "use strict";
  1193. module.exports = import("@radix-ui/react-radio-group");;
  1194. /***/ }),
  1195. /***/ 66704:
  1196. /***/ ((module) => {
  1197. "use strict";
  1198. module.exports = import("@radix-ui/react-tooltip");;
  1199. /***/ }),
  1200. /***/ 28560:
  1201. /***/ ((module) => {
  1202. "use strict";
  1203. module.exports = import("@radix-ui/react-visually-hidden");;
  1204. /***/ }),
  1205. /***/ 88813:
  1206. /***/ ((module) => {
  1207. "use strict";
  1208. module.exports = import("firebase/compat/analytics");;
  1209. /***/ }),
  1210. /***/ 33773:
  1211. /***/ ((module) => {
  1212. "use strict";
  1213. module.exports = import("firebase/compat/app");;
  1214. /***/ }),
  1215. /***/ 69915:
  1216. /***/ ((module) => {
  1217. "use strict";
  1218. module.exports = import("js-cookie");;
  1219. /***/ }),
  1220. /***/ 45641:
  1221. /***/ ((module) => {
  1222. "use strict";
  1223. module.exports = import("react-hook-form");;
  1224. /***/ }),
  1225. /***/ 3590:
  1226. /***/ ((module) => {
  1227. "use strict";
  1228. module.exports = import("react-toastify");;
  1229. /***/ }),
  1230. /***/ 15941:
  1231. /***/ ((module) => {
  1232. "use strict";
  1233. module.exports = import("swr");;
  1234. /***/ }),
  1235. /***/ 79847:
  1236. /***/ ((module) => {
  1237. "use strict";
  1238. module.exports = import("swr/immutable");;
  1239. /***/ }),
  1240. /***/ 63477:
  1241. /***/ ((module) => {
  1242. "use strict";
  1243. module.exports = require("querystring");
  1244. /***/ })
  1245. };
  1246. ;
  1247. // load runtime
  1248. var __webpack_require__ = require("../../webpack-runtime.js");
  1249. __webpack_require__.C(exports);
  1250. var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
  1251. var __webpack_exports__ = __webpack_require__.X(0, [11497,79165,7477,96270,24709,57933,61239,25869,50497,76410,79717,13830,37883,22197,12951,91308,42752,37013,87574], () => (__webpack_exec__(51809)));
  1252. module.exports = __webpack_exports__;
  1253. })();
  1254. //# sourceMappingURL=[slug].js.map